package com.linran.gclearn.jvm.cinit;

import java.io.IOException;

public class DeadLoopClient {
    public static void main(String[] args) throws IOException {
        Runnable script = new Runnable() {
            @Override
            public void run() {
                System.out.println(Thread.currentThread() + " start");
                DeadLoopClass dlc = new DeadLoopClass();
                System.out.println(Thread.currentThread() + " run over");
            }
        };
        Thread thread1 = new Thread(script);
        Thread thread2 = new Thread(script);
        thread1.start();
        thread2.start();
        System.in.read();
    }
}
